﻿using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 获取组成员列表参数模型
    /// </summary>
    public class GetGroupMemberListParam
    {
        /// <summary>
        /// 分组id
        /// </summary>
        [JsonProperty("group_id"), JsonPropertyName("group_id")]
        [Required(ErrorMessage = nameof(ErrorResultEnum.GroupIdIsNull))]
        public long GroupId { get; set; }
    }
}
